import request from '@/utils/request'

export function getPjInfo(userId){
	return request({
		url:'/score/courseclass/course/'+userId,
		method:'get',
		
	})
}
export function getPaperForEvalTeacher(evaluationId){
	return request({
		url:'/score/student/getPaper/'+evaluationId,
		method:'get'
	})
}
export function ItemList(param){
	return request({
		url:'/pingjiao/item/list',
		method:'get',
		params:param
	})
}
export function getActivityList(status){
	return request({
		url:'/score/student/getActivityList/'+status,
		method:'get'
	})
}
export function PaperItemCategoryList(param){
	return request({
		url:'/pingjiao/category/list',
		method:'get',
		params:param
	})
}
export function getEvalTeacherList(activityId){
	return request({
		url:'/score/student/getTeacherList/'+activityId,
		method:'get',
	})
}
export function getStudentInfo(userId){
	return request({
		url:'/score/student/info/'+userId,
		method:'get'
	})
}
export function getInfo(evaluationPaperId){
	return request({
		url:'/pingjiao/paper/'+evaluationPaperId,
		method:'get'
	})
}
export function getTerm(status){
	return request({
		url:'/pingjiao/activity/term/'+status,
		method:'get'
	})
}
export function getActivityPaper(term){
	return request({
		url:'/pingjiao/activity/getPaper/'+term,
		method:'get'
	})
}
export function getPaperItem(name){
	return request({
		url:'/pingjiao/category/getItem/'+name,
		method:'get'
	})
}
export function getEvaluationId(evaluationPaperId){
	return request({
		url:'/pingjiao/evaluation/getEvaluationId/'+evaluationPaperId,
		method:'get'
	})
}
export function submit(param){
	return request({
		url:'/pingjiao/evaluation/submit',
		method:'post',
		data:param
	})
}